package cinema;

import java.io.Serializable;

/**
 * @authors Matt Couzens & Amanda Kosinski
 * @version 29 April 2012
 */

public class Screen implements Serializable {
	private int screenNumber;
	private int capacity;
	private String layout;

	/**
	 * @param screenNumber
	 * @param capacity
	 * @param layout
	 */
	public Screen(int screenNumber, int capacity, String layout) {
		this.screenNumber = screenNumber;
		this.capacity = capacity;
		this.layout = layout;
	}

	/**
	 * @return the screenNumber
	 */
	public int getScreenNumber() {
		return screenNumber;
	}

	/**
	 * @param screenNumber the screenNumber to set
	 */
	public void setScreenNumber(int screenNumber) {
		this.screenNumber = screenNumber;
	}

	/**
	 * @return the capacity
	 */
	public int getCapacity() {
		return capacity;
	}

	/**
	 * @param capacity the capacity to set
	 */
	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}

	/**
	 * @return the layout
	 */
	public String getLayout() {
		return layout;
	}

	/**
	 * @param layout the layout to set
	 */
	public void setLayout(String layout) {
		this.layout = layout;
	}
	
	@Override
	public String toString(){
		return "Screen " + screenNumber + ", capacity = " + capacity + ", layout info: " + layout;
	}
}